package com.yaorange.nongjt.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 用户完善信息对象 njt_user_perfect
 *
 * @author yrw
 * @date 2025-02-27
 */
public class NjtUserPerfect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户注册表ID */
    @Excel(name = "用户注册表ID")
    private Long userId;

    /** 注册手机号 */
    @Excel(name = "注册手机号")
    private String mobilePhone;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    /** 主体名称 */
    @Excel(name = "主体名称")
    private String companyName;

    /** 法人姓名 */
    @Excel(name = "法人姓名")
    private String legalPersonName;

    /** 是否有营业执照 （0-无 1-有） */
    @Excel(name = "是否有营业执照 ", readConverterExp = "0=-无,1=-有")
    private Integer businessFlag;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String businessLicenseUrl;

    /** 认证资质 */
    @Excel(name = "认证资质")
    private String certificationQualificationUrl;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String area;

    /** 乡镇/街道 */
    @Excel(name = "乡镇/街道")
    private String country;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailAddress;

    /** 地址编码 */
    private String addressCode;

    /** 生产类型 */
    @Excel(name = "生产类型")
    private String produceType;

    /** 主体类型 */
    @Excel(name = "主体类型")
    private String mainType;

    /** 主体身份 */
    @Excel(name = "主体身份")
    private Integer subjectIdentity;

    /** 行业类型 */
    @Excel(name = "行业类型")
    private String industryType;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String creditCode;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String idNumber;

    /** 注册资金（万元） */
    @Excel(name = "注册资金", readConverterExp = "万=元")
    private BigDecimal registerMoney;

    /** 品牌logo */
    private String logoUrl;

    /** 照片墙 */
    private String photoWall;

    /** 照片墙介绍 */
    private String photoMsg;

    /** 经度 */
    private String longitude;

    /** 纬度 */
    private String latitude;

    /** 企业成立时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "企业成立时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date foundTime;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer examineStatus;

    /** 审核未通过原因 */
    @Excel(name = "审核未通过原因")
    private String examineMsg;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date examineTime;

    /** 省平台密码 */
    private String sptPassword;

    /** 省平台账号 */
    private String sptLoginName;

    /** 是否有省平台权限 0 无，1 有 */
    private Integer sptAuth;

    /** 是否同步到成都市，0：无需同步，1：需要同步，2：已同步 */
    private Integer isSync;

    /** 是否打印合格证抬头，0：否，1：是 */
    private Integer certificateTitleFlag;

    /** 历史签名图片 */
    private String signUrl;

    /** 删除标记 （1-删除,0-正常 ） */
    private Integer delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setMobilePhone(String mobilePhone)
    {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone()
    {
        return mobilePhone;
    }
    public void setRegisterTime(Date registerTime)
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime()
    {
        return registerTime;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setLegalPersonName(String legalPersonName)
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName()
    {
        return legalPersonName;
    }
    public void setBusinessFlag(Integer businessFlag)
    {
        this.businessFlag = businessFlag;
    }

    public Integer getBusinessFlag()
    {
        return businessFlag;
    }
    public void setBusinessLicenseUrl(String businessLicenseUrl)
    {
        this.businessLicenseUrl = businessLicenseUrl;
    }

    public String getBusinessLicenseUrl()
    {
        return businessLicenseUrl;
    }
    public void setCertificationQualificationUrl(String certificationQualificationUrl)
    {
        this.certificationQualificationUrl = certificationQualificationUrl;
    }

    public String getCertificationQualificationUrl()
    {
        return certificationQualificationUrl;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setCountry(String country)
    {
        this.country = country;
    }

    public String getCountry()
    {
        return country;
    }
    public void setDetailAddress(String detailAddress)
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress()
    {
        return detailAddress;
    }
    public void setAddressCode(String addressCode)
    {
        this.addressCode = addressCode;
    }

    public String getAddressCode()
    {
        return addressCode;
    }
    public void setProduceType(String produceType)
    {
        this.produceType = produceType;
    }

    public String getProduceType()
    {
        return produceType;
    }
    public void setMainType(String mainType)
    {
        this.mainType = mainType;
    }

    public String getMainType()
    {
        return mainType;
    }
    public void setSubjectIdentity(Integer subjectIdentity)
    {
        this.subjectIdentity = subjectIdentity;
    }

    public Integer getSubjectIdentity()
    {
        return subjectIdentity;
    }
    public void setIndustryType(String industryType)
    {
        this.industryType = industryType;
    }

    public String getIndustryType()
    {
        return industryType;
    }
    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }
    public void setCreditCode(String creditCode)
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode()
    {
        return creditCode;
    }
    public void setIdNumber(String idNumber)
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber()
    {
        return idNumber;
    }
    public void setRegisterMoney(BigDecimal registerMoney)
    {
        this.registerMoney = registerMoney;
    }

    public BigDecimal getRegisterMoney()
    {
        return registerMoney;
    }
    public void setLogoUrl(String logoUrl)
    {
        this.logoUrl = logoUrl;
    }

    public String getLogoUrl()
    {
        return logoUrl;
    }
    public void setPhotoWall(String photoWall)
    {
        this.photoWall = photoWall;
    }

    public String getPhotoWall()
    {
        return photoWall;
    }
    public void setPhotoMsg(String photoMsg)
    {
        this.photoMsg = photoMsg;
    }

    public String getPhotoMsg()
    {
        return photoMsg;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setFoundTime(Date foundTime)
    {
        this.foundTime = foundTime;
    }

    public Date getFoundTime()
    {
        return foundTime;
    }
    public void setExamineStatus(Integer examineStatus)
    {
        this.examineStatus = examineStatus;
    }

    public Integer getExamineStatus()
    {
        return examineStatus;
    }
    public void setExamineMsg(String examineMsg)
    {
        this.examineMsg = examineMsg;
    }

    public String getExamineMsg()
    {
        return examineMsg;
    }
    public void setExamineTime(Date examineTime)
    {
        this.examineTime = examineTime;
    }

    public Date getExamineTime()
    {
        return examineTime;
    }
    public void setSptPassword(String sptPassword)
    {
        this.sptPassword = sptPassword;
    }

    public String getSptPassword()
    {
        return sptPassword;
    }
    public void setSptLoginName(String sptLoginName)
    {
        this.sptLoginName = sptLoginName;
    }

    public String getSptLoginName()
    {
        return sptLoginName;
    }
    public void setSptAuth(Integer sptAuth)
    {
        this.sptAuth = sptAuth;
    }

    public Integer getSptAuth()
    {
        return sptAuth;
    }
    public void setIsSync(Integer isSync)
    {
        this.isSync = isSync;
    }

    public Integer getIsSync()
    {
        return isSync;
    }
    public void setCertificateTitleFlag(Integer certificateTitleFlag)
    {
        this.certificateTitleFlag = certificateTitleFlag;
    }

    public Integer getCertificateTitleFlag()
    {
        return certificateTitleFlag;
    }
    public void setSignUrl(String signUrl)
    {
        this.signUrl = signUrl;
    }

    public String getSignUrl()
    {
        return signUrl;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("mobilePhone", getMobilePhone())
            .append("registerTime", getRegisterTime())
            .append("companyName", getCompanyName())
            .append("legalPersonName", getLegalPersonName())
            .append("businessFlag", getBusinessFlag())
            .append("businessLicenseUrl", getBusinessLicenseUrl())
            .append("certificationQualificationUrl", getCertificationQualificationUrl())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("country", getCountry())
            .append("detailAddress", getDetailAddress())
            .append("addressCode", getAddressCode())
            .append("produceType", getProduceType())
            .append("mainType", getMainType())
            .append("subjectIdentity", getSubjectIdentity())
            .append("industryType", getIndustryType())
            .append("phoneNumber", getPhoneNumber())
            .append("creditCode", getCreditCode())
            .append("idNumber", getIdNumber())
            .append("registerMoney", getRegisterMoney())
            .append("logoUrl", getLogoUrl())
            .append("photoWall", getPhotoWall())
            .append("photoMsg", getPhotoMsg())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("foundTime", getFoundTime())
            .append("examineStatus", getExamineStatus())
            .append("examineMsg", getExamineMsg())
            .append("examineTime", getExamineTime())
            .append("sptPassword", getSptPassword())
            .append("sptLoginName", getSptLoginName())
            .append("sptAuth", getSptAuth())
            .append("isSync", getIsSync())
            .append("certificateTitleFlag", getCertificateTitleFlag())
            .append("signUrl", getSignUrl())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
